import java.util.Scanner;

/**
 * @author ｙｕａｎｂｉｎｂｉｎｇ
 * 打印三角形
 */
public class Task11_01 {
    public static void main(String[] args) {
        System.out.println("请输入一个行数：");
        Scanner scanner=new Scanner(System.in);
        int n=scanner.nextInt();

        for (int i = 1; i <=n; i++) {
            for (int j = 1; j <= i; j++) {
                System.out.print("* ");
            }
            System.out.println();
        }
    }
}
